import request from "@/utils/request";

// 查询简历表列表
export function listJl(query) {
  return request({
    url: "/system/jl/list",
    method: "get",
    params: query,
  });
}

// 查询简历表详细
export function getJl(jlId) {
  return request({
    url: "/system/jl/" + jlId,
    method: "get",
  });
}

// 新增简历表
export function addJl(data) {
  return request({
    url: "/system/jl",
    method: "post",
    data: data,
  });
}

// 修改简历表
export function updateJl(data) {
  return request({
    url: "/system/jl",
    method: "put",
    data: data,
  });
}

// 删除简历表
export function delJl(jlId) {
  return request({
    url: "/system/jl/" + jlId,
    method: "delete",
  });
}

export function deptTreeSelect() {
  return request({
    url: "/system/jl/deptTree",
    method: "get",
  });
}
